package com.data.entity;

import java.util.Date;

/**
 * 设备状态半小时统计表
 * @author Administrator
 *
 */
public class StateMin {
	private Long id;//主键，自增
	private Integer equId;//设备id
	private String stateType;//设备状态(根据采集数据P_active字段和设备状态配置表计算状态)
    private Date startTime;//开始时间
    private Date endTime;//结束时间
    private Double duration;//持续时间(秒)
    private Double relativeComp;//相对耗电
    private Date belongTime;//所属半小时时间   此条记录所属哪个半小时
    
    
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Integer getEquId() {
		return equId;
	}
	public void setEquId(Integer equId) {
		this.equId = equId;
	}
	public String getStateType() {
		return stateType;
	}
	public void setStateType(String stateType) {
		this.stateType = stateType;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Double getDuration() {
		return duration;
	}
	public void setDuration(Double duration) {
		this.duration = duration;
	}
	public Double getRelativeComp() {
		return relativeComp;
	}
	public void setRelativeComp(Double relativeComp) {
		this.relativeComp = relativeComp;
	}
	public Date getBelongTime() {
		return belongTime;
	}
	public void setBelongTime(Date belongTime) {
		this.belongTime = belongTime;
	}
}
